package com.gph.saviorframework.config.service;

import com.gph.saviorframework.common.model.SubItem;
import com.gph.saviorframework.base.service.BaseService;

import java.util.List;
import java.util.Map;

public interface SubItemService extends BaseService<SubItem,Long> {

    List<SubItem> findEntityByItem(String itemId);

    List<Map<String,String>> findMapByItem(String itemId);

    List<Map<String, Object>> find(String sort, String dir, Map<String, Object> params,String itemId);

    long count(String itemId,Map<String, Object> params);

    Map<String, Map<String, String>> findByItemIds(String... itemIds);
}
